package com.eshidai.simple_springboot.service;

import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.eshidai.simple_springboot.bean.Email;
import com.eshidai.simple_springboot.bean.MsgSend;

public interface MsgSendService {
	@Transactional(propagation = Propagation.REQUIRED)
	public void create(MsgSend msg);
	
	public void deleteByMsgId(String msgId);
	
	public void updateByMsgId(String msgId);
	
	public List<MsgSend> getMsgSendList();
	
	public void sendSimpleMail(Email email); 
}
